import agconnect from '@hw-agconnect/api-ohos';
import "@hw-agconnect/core-ohos";
import "@hw-agconnect/auth-ohos";

export const init = (context) => {
    return agconnect.instance().init(context);
}

export const getAuthInfo = () => {
    return agconnect.auth().getCurrentUser();
}

export const signOut = () => {
    return agconnect.auth().signOut();
}
